<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateNdMTransferFeeJapanTable extends Migration
{
	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		// Create the `TransferFeeJapan` table
		Schema::create('nd_m_transfer_fee_japan', function(Blueprint $table)
		{
            $table->increments('id');
            $table->string('fee', 80);
            $table->date('active_date_from');
            $table->date('active_date_to')->nullable();
            $table->integer('car_auction_id');
            $table->integer('vanning_company_branch_id');
            $table->integer('customer_id');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        // Delete the `TransferFeeJapan` table
        Schema::drop('nd_m_transfer_fee_japan');
    }
}
